﻿<%@ Control Language="C#" ClassName="CreditCardFields" %>

<asp:FormView ID="FormView1" runat="server">
	<ItemTemplate>
		<table border="0" cellpadding="3" cellspacing="1">
			<tr>
        <td class="literal"><asp:Label ID="lbldataCardType" runat="server" Text="Card Type:" AssociatedControlID="dataCardType" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataCardType" Text='<%# Bind("CardType") %>' MaxLength="50"></asp:TextBox>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataPassportNumber" runat="server" Text="Passport Number:" AssociatedControlID="dataPassportNumber" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataPassportNumber" Text='<%# Bind("PassportNumber") %>' MaxLength="50"></asp:TextBox>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataIsDisabled" runat="server" Text="Is Disabled:" AssociatedControlID="dataIsDisabled" /></td>
        <td>
					<asp:RadioButtonList runat="server" ID="dataIsDisabled" SelectedValue='<%# Bind("IsDisabled") %>' RepeatDirection="Horizontal"><asp:ListItem Value="True" Text="Yes" Selected="True"></asp:ListItem><asp:ListItem Value="False" Text="No"></asp:ListItem><asp:ListItem Value="" Text="Pick ..." Enabled="False"></asp:ListItem></asp:RadioButtonList>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataIssuanceBank" runat="server" Text="Issuance Bank:" AssociatedControlID="dataIssuanceBank" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataIssuanceBank" Text='<%# Bind("IssuanceBank") %>' MaxLength="50"></asp:TextBox>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataCardNumber" runat="server" Text="Card Number:" AssociatedControlID="dataCardNumber" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataCardNumber" Text='<%# Bind("CardNumber") %>' MaxLength="50"></asp:TextBox>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataCardHolderName" runat="server" Text="Card Holder Name:" AssociatedControlID="dataCardHolderName" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataCardHolderName" Text='<%# Bind("CardHolderName") %>' MaxLength="50"></asp:TextBox>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataExpiredDate" runat="server" Text="Expired Date:" AssociatedControlID="dataExpiredDate" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataExpiredDate" Text='<%# Bind("ExpiredDate") %>' MaxLength="10"></asp:TextBox>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataCvv" runat="server" Text="Cvv:" AssociatedControlID="dataCvv" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataCvv" Text='<%# Bind("Cvv") %>' MaxLength="5"></asp:TextBox>
				</td>
			</tr>
			
		</table>

	</ItemTemplate>
</asp:FormView>


